ROOTDIR    ?= /home/girish/ati-stream-sdk-v2.2-lnx64
LIB  :=  -L$(ROOTDIR)/lib/x86_64
INCLUDES  := -I$(ROOTDIR)/include

CXXWARN_FLAGS := \
        -W -Wall \
        -Wimplicit \
        -Wswitch \
        -Wformat \
        -Wchar-subscripts \
        -Wparentheses \
        -Wmultichar \
        -Wtrigraphs \
        -Wpointer-arith \
        -Wcast-align \
        -Wreturn-type \
        -Wno-unused-function \
    $(SPACE)

LIB += -lOpenCL
INCLUDES += -I../include/

OBJFILES := $(patsubst %.cpp,%.o, $(wildcard *.cpp))
HFILES := $(wildcard *.h)

all:
	g++ -shared -fPIC  -o libclutil.so *.cpp $(INCLUDES) $(LIB)


all:

clean:
	rm -rf *.so

